<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html">
    <ui:composition>
        <div class="logo"><a href="index.xhtml"><span>Click</span>'N'<span>Gage</span></a></div>
        <h:form>
            <ul class="login">
                <li class="left">&nbsp;</li>
                <li><h:outputText value="Hello Guest!" rendered="#{!lecturerManagedBean.loggedIn}"/></li>
                <li><h:outputText value="Welcome #{lecturerManagedBean.alias}!" rendered="#{lecturerManagedBean.loggedIn}"/></li>
                <li><h:commandLink value="Login" action="login" rendered="#{!lecturerManagedBean.loggedIn}"/></li>
                <li><h:commandLink value="Logout" action="#{lecturerManagedBean.logOutActionHandler}" rendered="#{lecturerManagedBean.loggedIn}"/></li>
                <li><h:commandLink value="Register" action="register" rendered="#{!lecturerManagedBean.loggedIn}"/></li>
            </ul>
        </h:form>
    </ui:composition>
</html>
